// 通用API响应接口
export interface ApiResponse<T = any> {
  code: number;
  message: string;
  data?: T;
  timestamp?: string;
}

// 分页选项
export interface PaginationOptions {
  page: number;
  limit: number;
  sort?: string;
  order?: 'ASC' | 'DESC';
}

// 分页响应
export interface PaginatedResponse<T = any> {
  items: T[];
  total: number;
  page: number;
  limit: number;
  totalPages: number;
}